package com.muli.muwai.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muli.muwai.entity.IntfServiceProject;
import com.muli.muwai.mapper.CompanyMapper;
import com.muli.muwai.service.CompanyService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, IntfServiceProject> implements CompanyService {
    @Override
    public void saveServiceCompany(List<IntfServiceProject> serviceCompany) {
        saveBatch(serviceCompany);
    }

    @Override
    public void deleteData() {
        int delete = baseMapper.delete(null);
        System.out.println(delete);
    }
}
